package model

import "gorm.io/gorm"

type Admin struct {
	gorm.Model
	Username string `json:"username"`
	Password string `json:"password"`
	Mobile   string `json:"mobile"`
	SchoolId int64  `json:"schoolId"`
	Role     int    `json:"role"`
}
type School struct {
	gorm.Model
	Name      string `json:"name"`
	Status    int    `json:"status"`
	Types     string `json:"types"`
	Address   string `json:"address"`
	Tel       string `json:"tel"`
	Introduce string `json:"introduce"`
	CoverUrl  string `json:"coverUrl"`
}
type AdminSchool struct {
	gorm.Model
	Admin
	Name string `json:"name"`
}
